//
//  CFCorfimePayVC.m
//  CFfuturestalent
//
//  Created by 子yu 刘 on 2018/5/1.
//  Copyright © 2018年 子yu 刘. All rights reserved.
//

#import "CFCorfimePayVC.h"
#import "CFRechareRecordVC.h"
#import "CFPayResultVC.h"

@interface CFCorfimePayVC ()

@end

@implementation CFCorfimePayVC

- (void)viewDidLoad {
    [super viewDidLoad];
    self.navigationItem.rightBarButtonItem = [UIBarButtonItem barBtnItemWithTitle:@"充值记录" target:self action:@selector(topUpRecords)];
}

- (void)topUpRecords{
    CFRechareRecordVC * recordVC = (CFRechareRecordVC *)[CFUtility getVC:@"CFRechareRecordVC" Storyboard:MINE];
    [self.navigationController pushViewController:recordVC animated:YES];
}

- (IBAction)gotoPay:(id)sender {
    CFPayResultVC * payResultVC = (CFPayResultVC *)[CFUtility getVC:@"CFPayResultVC" Storyboard:MINE];
    [self.navigationController pushViewController:payResultVC animated:YES];
}


@end
